<!DOCTYPE HTML>
<html lang="zh">
<head>
<title>Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Modern Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
 <!-- Bootstrap Core CSS -->
<link href="static/css/bootstrap.min.css" rel='stylesheet' type='text/css' />
<!-- Custom CSS -->
<link href="static/css/style.css" rel='stylesheet' type='text/css' />
<!-- Graph CSS -->
<link href="static/css/lines.css" rel='stylesheet' type='text/css' />
<link href="static/css/font-awesome.css" rel="stylesheet"> 
<!-- jQuery -->
<script src="static/js/jquery.min.js"></script>
<!----webfonts--->
<link href='http://fonts.useso.com/css?family=Roboto:400,100,300,500,700,900' rel='stylesheet' type='text/css'>
<!---//webfonts--->  
<!-- Nav CSS -->
<link href="static/css/custom.css" rel="stylesheet">
<!-- Metis Menu Plugin JavaScript -->
<script src="static/js/metisMenu.min.js"></script>
<script src="static/js/custom.js"></script>
<!-- Graph JavaScript -->
<script src="static/js/d3.v3.js"></script>
<script src="static/js/rickshaw.js"></script>
<!-- other link for userpage -->
<!-- 会让状态栏变绿，tnnd -->
<!-- <link rel="stylesheet" type="text/css" href="static/css/htmleaf-demo.css"> -->
<link rel="stylesheet" type="text/css" href="static/css/nav.css">
<link rel="stylesheet" type="text/css" href="static/fonts/iconfont.css">
</head>
<body>
<div id="wrapper">
     <!-- Navigation -->
        <nav class="top1 navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="/">TasTe</a>
            </div>
            <!-- /.navbar-header -->
            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                        <li>
                            <a href="/user_index"><i class="fa fa-dashboard fa-fw nav_icon"></i>个人主页</a>
                        </li>
                        {% if usertype != "Student" %}
                        <li>
                            <a href="#"><i class="fa fa-laptop nav_icon"></i>用户管理<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="/add_user">添加用户</a>
                                </li>
								<li>
                                    <a href="/delete_user">删除用户</a>
                                </li>
                            </ul>
                            <!-- /.nav-second-level -->
                        </li>
                        {% endif %}
                        <li>
                            <a href="#"><i class="fa fa-indent nav_icon"></i>公告<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                {% if usertype != "Student" %}
								<li>
                                    <a href="/announce_manage">公告管理</a>
                                </li>
                                {% endif %}
								<li>
                                    <a href="/announce_explore">查看公告</a>
                                </li>
                            </ul>
                            <!-- /.nav-second-level -->
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-envelope nav_icon"></i>文件<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                {% if usertype != "Student" %}
                                <li>
                                    <a href="/file_manage">文件管理</a>
                                </li>
                                {% endif %}
                                <li>
                                    <a href="/download_file">下载文件</a>
                                </li>
                            </ul>
                            <!-- /.nav-second-level -->
                        </li>
                        <li>
                            <a href="/comments"><i class="fa fa-flask nav_icon"></i>评论区</a>
                        </li>
                         <li>
                            <a href="#"><i class="fa fa-check-square-o nav_icon"></i>作业<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                {% if usertype != "Student" %}
                                <li>
                                    <a href="/homework_teacher">作业管理</a>
                                </li>
                                {% endif %}
                                <li>
                                    <a href="/homework_student">提交/查看</a>
                                </li>
                            </ul>
                            <!-- /.nav-second-level -->
                        </li>
                            </ul>
                            <!-- /.nav-second-level -->
                        </li>
                    </ul>
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>
        <div id="page-wrapper">
			<div class="graphs">
				<div class="widget_head">用户信息</div>
					<div class="bs-example5" data-example-id="default-media">
					 <div class="media">
					   <div class="media-left">
									   <!-- 个人主页 -->
			<div class="htmleaf-container">
			<div class="media">
				<div class="pic">
					<!-- 头像图片 -->
					<img src="static/images/1.jpg" alt=""/>
				</div>
	        <!-- 这里用户的文本信息 -->
				<div class="testimonial-review">
					<h4 class="testimonial-title">
						{{ username }}
                        {% if usertype=="Student" %}
						<small>同学你好！</small>
                    </h4>
					<p>
						学号：{{ userid }}
					</p>
                        {% elif usertype=="Teacher" %}
                        <small>老师你好！</small>
                    </h4>
					<p>
						工号：{{ userid }}
					</p>
                        {% else %}
                        <small>管理员你好！</small>
                    </h4>
					<p>
						管理员账号：{{ userid }}
					</p>
                        {% endif %}
                    <p>
						邮箱：{{ useremail }}
					</p>
				</div>
			</div>
			</div>	
		
			<script src="http://libs.useso.com/js/jquery/2.1.1/jquery.min.js" type="text/javascript"></script>
			<script>window.jQuery || document.write('<script src="static/js/jquery-2.1.1.min.js"><\/script>')</script>
			<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.js"></script>
			<script type="text/javascript">
			$(document).ready(function(){
				$("#testimonial-slider").owlCarousel({
					items:2,
					itemsDesktop:[1000,1],
					itemsDesktopSmall:[979,1],
					itemsTablet:[768,1],
					pagination: true,
					autoPlay:true
				});
			});
			</script>
       </div>
      <!-- /#page-wrapper -->
   </div>
   </div>
   </div>
    <!-- /#wrapper -->
    <!-- Bootstrap Core JavaScript -->
    <script src="static/js/bootstrap.min.js"></script>
</body>
</html>
